package sundialdesigner;

import java.lang.Math.*;

/**
 * The function of this class is to carry out all mathematical computations
 * that are necessary to work out the design and technical details of a Sundial.
 *
 * @author Saadan Ghalib
 *
 *         Date: Jul 11, 2007
 *         Time: 11:40:23 AM
 */
public class SunMath {
    
    /* these variables will hold angles in radian format which will be used by various methods
     *throughout the whole class
     */       
   
    
    
     public SunMath(){
        

     }

     public static void main(String[] args) {
         
         double decline = 24;
         double latitude = 40;
         convertRadians(decline, latitude);
         computeSD();
         
         
     }
        
        /** This method will convert the angles to radian format which can then
         *be used with the in-built math functions involving trigonometry calculations
         **/
     
        public static void convertRadians(double decline, double latitude){
       
            
         
                    
            
        }
        
        public static double convertDegrees(double convertVar) {
            
        return Math.toDegrees(convertVar);    
            
        }
     
        
        public static double computeSD() {
  
            
            
         
         return nextvalue;
    
        }



}
